package com.ruoyi.eqmonitor.mapper;

import java.util.List;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.eqmonitor.domain.OptPatrolEvent;
import com.ruoyi.eqmonitor.vo.CockpitInfoVo;
import com.ruoyi.eqmonitor.dtos.OptPatrolEventDPY;
import org.apache.ibatis.annotations.Param;

/**
 * @author ruoyi
 * @date 2022-12-05
 */
public interface OptPatrolEventMapper extends BaseMapper<OptPatrolEvent>{

    public List<OptPatrolEvent> selectOptPatrolEventList(OptPatrolEvent optPatrolEvent);
    
    public OptPatrolEvent selectOptPatrolEventById(Long id);

    CockpitInfoVo getInfo(@Param("minorId")String minorId, @Param("alarmId") Long alarmId);

    List<OptPatrolEventDPY> selesctDPY();

}
